package com.baizhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

@TableName("dd_product")
public class Product {
    @TableId(type= IdType.AUTO)
    private int bookId;
    private int cid;
    private String bookName;
    private double bookPrice;
    @TableField("groundingDate")
    private Date groundingDate;
    private String bookState;
    private int inventory;
    private String author;
    private String press;
    @TableField("editNum")
    private int editNum;
    private Date printDate;
    private int printCount;
    @TableField("ISBN")
    private String ISBN;
    private  int wordCount;
    private int pageCount;
    private String style;
    private String page;
    private String pack;
    private int salenum;
    private double customeScore;
    private String recommend;
    private String messages;
    private String authorMsg;
    private String list;
    private String mediaComment;
    @TableField("imagePath")
    private String imagePath;
    private String seriesName;
    private double Dangprice;
    private String productImage;

    public Product() {
    }

    @Override
    public String toString() {
        return "Product{" +
                "bookId=" + bookId +
                ", cid=" + cid +
                ", bookName='" + bookName + '\'' +
                ", bookPrice=" + bookPrice +
                ", groundingDate=" + groundingDate +
                ", bookState='" + bookState + '\'' +
                ", inventory=" + inventory +
                ", author='" + author + '\'' +
                ", press='" + press + '\'' +
                ", editNum=" + editNum +
                ", printDate=" + printDate +
                ", printCount=" + printCount +
                ", ISBN='" + ISBN + '\'' +
                ", wordCount=" + wordCount +
                ", pageCount=" + pageCount +
                ", style='" + style + '\'' +
                ", page='" + page + '\'' +
                ", pack='" + pack + '\'' +
                ", salenum=" + salenum +
                ", customeScore=" + customeScore +
                ", recommend='" + recommend + '\'' +
                ", messages='" + messages + '\'' +
                ", authorMsg='" + authorMsg + '\'' +
                ", list='" + list + '\'' +
                ", mediaComment='" + mediaComment + '\'' +
                ", imagePath='" + imagePath + '\'' +
                ", seriesName='" + seriesName + '\'' +
                ", Dangprice=" + Dangprice +
                ", productImage='" + productImage + '\'' +
                '}';
    }

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public double getBookPrice() {
        return bookPrice;
    }

    public void setBookPrice(double bookPrice) {
        this.bookPrice = bookPrice;
    }

    public Date getGroundingDate() {
        return groundingDate;
    }

    public void setGroundingDate(Date groundingDate) {
        this.groundingDate = groundingDate;
    }

    public String getBookState() {
        return bookState;
    }

    public void setBookState(String bookState) {
        this.bookState = bookState;
    }

    public int getInventory() {
        return inventory;
    }

    public void setInventory(int inventory) {
        this.inventory = inventory;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPress() {
        return press;
    }

    public void setPress(String press) {
        this.press = press;
    }

    public int getEditNum() {
        return editNum;
    }

    public void setEditNum(int editNum) {
        this.editNum = editNum;
    }

    public Date getPrintDate() {
        return printDate;
    }

    public void setPrintDate(Date printDate) {
        this.printDate = printDate;
    }

    public int getPrintCount() {
        return printCount;
    }

    public void setPrintCount(int printCount) {
        this.printCount = printCount;
    }

    public String getISBN() {
        return ISBN;
    }

    public void setISBN(String ISBN) {
        this.ISBN = ISBN;
    }

    public int getWordCount() {
        return wordCount;
    }

    public void setWordCount(int wordCount) {
        this.wordCount = wordCount;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public String getPack() {
        return pack;
    }

    public void setPack(String pack) {
        this.pack = pack;
    }

    public int getSalenum() {
        return salenum;
    }

    public void setSalenum(int salenum) {
        this.salenum = salenum;
    }

    public double getCustomeScore() {
        return customeScore;
    }

    public void setCustomeScore(double customeScore) {
        this.customeScore = customeScore;
    }

    public String getRecommend() {
        return recommend;
    }

    public void setRecommend(String recommend) {
        this.recommend = recommend;
    }

    public String getMessages() {
        return messages;
    }

    public void setMessages(String messages) {
        this.messages = messages;
    }

    public String getAuthorMsg() {
        return authorMsg;
    }

    public void setAuthorMsg(String authorMsg) {
        this.authorMsg = authorMsg;
    }

    public String getList() {
        return list;
    }

    public void setList(String list) {
        this.list = list;
    }

    public String getMediaComment() {
        return mediaComment;
    }

    public void setMediaComment(String mediaComment) {
        this.mediaComment = mediaComment;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public String getSeriesName() {
        return seriesName;
    }

    public void setSeriesName(String seriesName) {
        this.seriesName = seriesName;
    }

    public double getDangprice() {
        return Dangprice;
    }

    public void setDangprice(double dangprice) {
        Dangprice = dangprice;
    }

    public String getProductImage() {
        return productImage;
    }

    public void setProductImage(String productImage) {
        this.productImage = productImage;
    }

    public Product(int bookId, int cid, String bookName, double bookPrice, Date groundingDate, String bookState, int inventory, String author, String press, int editNum, Date printDate, int printCount, String ISBN, int wordCount, int pageCount, String style, String page, String pack, int salenum, double customeScore, String recommend, String messages, String authorMsg, String list, String mediaComment, String imagePath, String seriesName, double dangprice, String productImage) {
        this.bookId = bookId;
        this.cid = cid;
        this.bookName = bookName;
        this.bookPrice = bookPrice;
        this.groundingDate = groundingDate;
        this.bookState = bookState;
        this.inventory = inventory;
        this.author = author;
        this.press = press;
        this.editNum = editNum;
        this.printDate = printDate;
        this.printCount = printCount;
        this.ISBN = ISBN;
        this.wordCount = wordCount;
        this.pageCount = pageCount;
        this.style = style;
        this.page = page;
        this.pack = pack;
        this.salenum = salenum;
        this.customeScore = customeScore;
        this.recommend = recommend;
        this.messages = messages;
        this.authorMsg = authorMsg;
        this.list = list;
        this.mediaComment = mediaComment;
        this.imagePath = imagePath;
        this.seriesName = seriesName;
        Dangprice = dangprice;
        this.productImage = productImage;
    }
}
